home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 119
/
MOBICLIC 119.ISO
/
pc
/
DATA
/
DCV119
/
DCV119_00
/
DCV119_00.swf
/
scripts
/
frame_25
/
DoAction.as
Wrap
Text File
|
2009-11-16
|
3KB
|
120 lines
stop();
hidemascotte({id:"b1"});
BTON_DIAPO_GENE._visible = flagSpecialDiapo;
NATUR.gotoAndPlay("E2");
InitBT_QUIZ();
BT_QUIZ._visible = true;
w1.onRollOver = function()
{
if(flagBTquiz)
{
this.useHandCursor = false;
}
else
{
this.useHandCursor = true;
joueSon({nomSon:"00_R01",zapBlock:"NOZAP_NOBLOCK",actionFin:"RIEN"});
this.gotoAndPlay("E2_ROLL");
}
};
w1.onPress = function()
{
if(!flagBTquiz)
{
flagWiki = true;
_root.gotoAndStop("AIDE00");
}
};
w1.onRollOut = function()
{
if(!flagBTquiz)
{
stopComment();
this.gotoAndPlay("E2");
flagWiki = false;
}
};
BTON_DIAPO_GENE.onRollOver = function()
{
this.useHandCursor = true;
this.gotoAndStop("E2");
bruit({nomBruit:"PHOTO"});
bulle({refclip:this,suffixe:"_ALBUM"});
};
BTON_DIAPO_GENE.onPress = function()
{
this.gotoAndStop("E1");
killbruit({nomBruit:"PHOTO"});
killbulle();
_root.BT_QUIZ.swapDepths(_root.BT_QUIZ.pDepth);
BT_QUIZ._visible = false;
_root.gotoAndStop("DIAPO_GENE");
hidemascotte({id:"b1"});
};
BTON_DIAPO_GENE.onRollOut = function()
{
this.gotoAndStop("E1");
killbruit({nomBruit:"PHOTO"});
killbulle();
};
for(stuff in this)
{
if(familyname({chaine:stuff}) == "ZONE_")
{
this[stuff].pName = this[stuff]._name;
this[stuff].pNo = extractNo({chaine:this[stuff].pName});
this[stuff].onRollOver = function()
{
pNo = this.pNo;
pName = this.pName;
this.useHandCursor = true;
gereCursor(2);
this.gotoAndPlay("E2");
bruit({nomBruit:gimme2digits(pNo)});
bulle({refclip:this,suffixe:gimme2digits(pNo)});
};
this[stuff].onPress = function()
{
pNo = this.pNo;
pName = this.pName;
gereCursor(1);
this.gotoAndStop("E1");
killbruit({nomBruit:gimme2digits(pNo)});
switch(pNo)
{
case 1:
var _loc4_ = "01_00";
break;
case 2:
_loc4_ = "02_00";
break;
case 3:
_loc4_ = "03_00";
}
killbulle();
_root.BT_QUIZ.swapDepths(_root.BT_QUIZ.pDepth);
BT_QUIZ._visible = false;
trace("-------> " + _loc4_);
_root.gotoAndStop(_loc4_);
var _loc3_ = 0;
while(_loc3_ < 3)
{
zoneId = "ZONE_" & gimme2digits(_loc3_);
delete _root[zoneId].onRollOver;
delete _root[zoneId].onPress;
delete _root[zoneId].onRollOut;
_loc3_ = _loc3_ + 1;
}
hidemascotte({id:"b1"});
};
this[stuff].onRollOut = function()
{
pName = this.pName;
this.gotoAndStop("E1");
gereCursor(1);
killbruit({nomBruit:gimme2digits(pNo)});
killbulle();
};
}
}